package beans;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.context.FacesContext;

import utils.Navigation;

@ManagedBean
@RequestScoped
public class LogoutBean {
	public String logout(){
		FacesContext.getCurrentInstance().getExternalContext().invalidateSession();
		return Navigation.HOME;
	}
}
